// 引用通用模型
@import '../../../common/less/reset.less';
@import '../../../common/less/module.less';
// 头部高度
@header_h: 60px;
// logo图片高度
@logo_h: 40px;
// 头部导航超链接高度
@nav_a_h: 46px;
body {
    //    background-color: orange;
}

#header,#content{
    width: 100%;
}

#header {
    height: @header_h;
    // 根据头部容器高度，计算垂直居中值
    line-height: @header_h;
    position: fixed;
    background: rgba(255, 98, 0, 0.4) none repeat scroll 0% 0%;
    z-index: 99;
}

.header-bd,.section-bd {
    width: 1000px;
    .block_center;
}

.logo {
    float: left;
    img {
        position: absolute;
        // 根据头部容器高度，计算垂直居中值
        top: (@header_h - @logo_h) / 2;
    }
}

.header-nav {
    float: right;
    li {
        float: left;
        text-align: center;
        width: 8em;
        margin-right: 10px;
        // 让a垂直居中
        //        padding-top: (@header_h - @nav_a_h) / 2;
        a {
            color: #fff;
            display: block;
            font-size: 16px;
            width: 100%;
            height: @nav_a_h;
            line-height: @nav_a_h;
            // 让a垂直居中
            margin-top: (@header_h - @nav_a_h) / 2;
            &:hover {
                background-color: #ff6200;
                border-radius: 5px;
            }
        }
    }
    .header-nav-app {
        a {
            height: 100%;
            line-height: @header_h;
            margin-top: 0;
            
            p{
                line-height: 1em;
                display: none;
                text-align: center;
                padding: 10px 0;
                img{
                    width: 100%;
                }
                span{
                    font-size: 12px;
                }
            }
            
            &:hover {
                background-color: #ff6200;
                border-radius: 0;
                p{
                    display: block;
                }
            }
        }
        
    }
}

//#J-menu{
//    position: fixed;
//    background-color: #ff6200;
//    border-radius: 15px;
//    right: 2%;
//    top: 30%;
//    
//    li{
//        padding: 10px;
//        width: 13px;
//        height: 13px;
//        
//        a{
//            display: block;
//            position: relative;
//            width: 100%;
//            height: 100%;
//        }
//    }
//    .circle{
//        .circle(10px,#ffd7be);
//        width: 10px;
//        height: 10px;
//        position: absolute;
//        left: 2px;
//        top: 1px;
//    }
//    .active{
//        .circle{
//            background-color: #FFA500;
//            border: 1px solid #ffd7be;
//            position: absolute;
//            left: 1px;
//        }
//    }
//}
/*右侧滚动导航*/

#fp-nav {
    //    background-color: #ff6200;
    //    border-radius: 15px;
    ul li a {
        position: relative;
    }
    ul li a span {
        //        background-color: #ff6200;
        border: 1px solid #fff;
    }
    ul li a.active span {
        background-color: #ff6200;
        //        border: 1px solid #fdc29d;
        border: 1px solid rgba(255, 140, 68, 0.69);
        width: 10px;
        height: 10px;
        position: absolute;
        left: 1px;
    }
}

.section .bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.section .bg img {
    width: 100%;
    height: 100%;
    display: block;
}

.active .bg-show-up {
    bottom: 150px;
    .opacity(100);
    // 睡一会
    .animat_sleep(0.7s);
}

/*动画-第一屏向上浮现*/
.bg-show-up {
    position: absolute;
    bottom: -300px;
    width: 100%;
    height: 850px;
    background: transparent url(../img/bg11.png) no-repeat scroll 50% 0px;
    .opacity(0);
    .transition(all 2s);
}

/*动画-波浪*/
.bg-wave {
    background: transparent url("http://p8.qhimg.com/t01a492cd17cf6131fc.png") repeat-x scroll center top;
    height: 235px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    /*透明度*/
    .opacity(40);
    /*起伏动画*/
    .animation(float 1.5s linear 1s alternate none infinite running);
    .animat_fluctuate(float);
    
}


/*动画-第三屏向上浮现*/
.active show-up {
    
}
/*起伏动画-图片*/
.show-up {
    .animation(float2 1s linear 1s alternate none infinite running);
    .animat_fluctuate(float2);
    
}
/*起伏动画-影子*/
.show-up-shadow{
    .ellipse(50px, 10px, #000);
    .block_center;
    margin-top: 20px;
    .animation(shadow 1s linear 1s alternate none infinite running);
    .animat_shadow(shadow, 30px, 6px, 2.5);
}


/*应用列表轮播*/
.app-list li,.prev,.next{
    height: 110px;
}

/*应用轮播容器*/
.app-list{
//    background-color: #ccc;
    width: 900px;
    .block_center;
    text-align: center;
    
    ul{
        width: 800px;
        height: 112px;
        overflow: hidden;
    }
    li{
        border: 1px solid #c00;
        
        float: left;
        margin-left: -1px;
    }
    /*应用列*/
    &-item{
        font-size: 12px;
        width: 159px;
        
        img,span{
            .block_center;
            display: block;
        }
    }
}

/*前后滚动按钮*/
.prev,.next{
    border: 1px solid #c00;
    display: block;
    width: 48px;
    vertical-align: middle;
    
}

.next{
    margin-left: -1px;
}

/*左右按钮和应用列表贴在一排*/
.app-list ul,.prev,.next{
    float: left;
}

.section-bd{
    
}

